add_rules("mode.debug", "mode.release")

local language = "17"

add_requires("flatbuffers")

target("test")
    set_kind("binary")
    set_languages("c++" .. language)
    add_rules("flatbuffers.cpp")
    add_files("src/*.cpp")
    add_files("src/**.fbs", {flat_rootdir = "src"})

    add_packages("flatbuffers")

